package com.taloub.hamza.myfirstapp;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;

public class Email extends Activity implements View.OnClickListener{
	Button btSend;
	Button btClear;
	EditText etDestination;
	EditText etSubject;
	EditText etMessage;
	String mailDestination;
	String mailSubject;
	String mailMessage;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		initializeVars();
		setContentView(R.layout.email);
		btSend.setOnClickListener(this);
		btClear.setOnClickListener(this);
		
	}
	
	private void initializeVars(){
		btSend = (Button) findViewById(R.id.bSend);
		btClear = (Button) findViewById(R.id.bClear);
		etDestination = (EditText) findViewById(R.id.etDestination);
		etSubject = (EditText) findViewById(R.id.etSubject);
		etMessage = (EditText) findViewById(R.id.etMessage);
		mailDestination = etDestination.getText().toString();
		mailSubject = etSubject.getText().toString();
		mailMessage = etMessage.getText().toString();
	
	}
	@Override
	public void onClick(View arg0) {
		// TODO Auto-generated method stub
		
	}

}
